<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>文章属性列表</title>
	<link rel="stylesheet" href="__PUBLIC__/Admin/Css/common.css" />
	<script type="text/javascript" src='__PUBLIC__/Admin/Js/jquery-1.8.2.min.js'></script>
	<script type="text/javascript" src='__PUBLIC__/Admin/Js/common.js'></script>
</head>
<body>
	<div class='status'>
		<span>文章属性列表</span>
	</div>
	<table class="table">
		<tr>
			<th>ID</th>
			<th>属性名称</th>
			<th>颜色</th>
			<th>操作</th>
		</tr>
		<foreach name='attr' item='v'>
			<tr>
				<td align="center">{$v.id}</td>
				<td align="center">{$v.name}</td>
				<td align="center"><div style="width:20px;height: 20px;background: {$v.color}"></div></td>
				<td align="center">
					［<a href="{:U('editAttr',array('id'=>$v['id']))}">修改</a>］
				</td>
			</tr>
		</foreach>
	</table>
</body>
</html>